package com.shop.zkmall.app.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 直播间信息表
 * </p>
 *
 * @author ${author}
 * @since 2025-11-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("cere_buyer_live_room")
@ApiModel(value="CereBuyerLiveRoom对象", description="直播间信息表")
public class CereBuyerLiveRoom implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "直播间ID")
    private Long id;

    @ApiModelProperty(value = "主播ID（关联用户表）")
    private Long anchorId;

    @ApiModelProperty(value = "主播名称")
    private String anchorName;

    @ApiModelProperty(value = "主播头像URL")
    private String anchorAvatar;

    @ApiModelProperty(value = "直播群id")
    private String groupId;

    @ApiModelProperty(value = "直播间标题")
    private String title;

    @ApiModelProperty(value = "直播封面图")
    private String coverUrl;

    @ApiModelProperty(value = "分类ID")
    private Long categoryId;

    @ApiModelProperty(value = "分类名称")
    private String categoryName;

    @ApiModelProperty(value = "直播状态：1直播中 2已结束 3暂停中")
    private Integer status;

    @ApiModelProperty(value = "开播时间")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "广告订单ID")
    private String adOrderId;

    @ApiModelProperty(value = "流名称")
    private String streamName;


}
